#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.59])
AC_INIT([test], [2.0], [gxd305@gmail.com])
AC_CONFIG_SRCDIR([ysip2.cpp])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE(test,2.0)


# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_RANLIB
AC_PROG_LIBTOOL

# Checks for libraries.

AC_DEFINE(YSIP2_IP_DATA_ALL, 1, [if support detail info])
AC_DEFINE(YSIP2_X_FORMAT, 1, [if support YSIP2_X_FORMAT])
# AC_DEFINE(DEBUG, 1, [if debug ])

# Checks for header files.
AC_CHECK_HEADERS([arpa/inet.h netinet/in.h string.h sys/socket.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_INLINE

# Checks for library functions.

AC_OUTPUT(Makefile)
